import { EmployeInfoStatus } from "../services/employeesInfoManage";

interface EmployeeExtended {
    braceletNo:string;
}

interface EmployeeUser {
    password: string;
    registeredTime: string;
    sex: string;
    id: string;
    name: string;
    mobile: string;
}

interface EmployeeRole {
    id: string;
    name: string;
    desc: string;
    checked: boolean
}

export class Employee {
    account: string;
    employeeNumber: string;
    joinTime: Date;
    note: string;
    password: string;
    storeId: string;
    user: EmployeeUser;
    roles: Array<EmployeeRole>;
    id: string;
    extended:EmployeeExtended;

    //界面model
    hasDeliveriedCount: number;
    status: EmployeInfoStatus;
    turns: Array<string>;
}